gtk/queryimmodules.c: Make the output deterministic.
authorChris Lamb <chris@chris-lamb.co.uk>
Fri, 25 Aug 2017 15:24:38 +0000 (16:24 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 17 Jan 2018 03:39:03 +0000 (22:39 -0500)
commit6b85162f4342a0b7e09fa9e3ebd059b948a90cab
tree9a3b6258722cd881c7d9eae8ab7f72d14a52eb50
parent53bc2566b32c978a6fa2f9b7cb2e8c66b9db1748
gtk/queryimmodules.c: Make the output deterministic.

Whilst working on the Reproducible Builds effort [0], we noticed that
queryimmodules generates non-reproducible output as it iterates over the
filesystem without sorting.

Patch attached.

 [0] https://reproducible-builds.org/

Signed-off-by: Chris Lamb <lamby@debian.org>
https://bugzilla.gnome.org/show_bug.cgi?id=786528
gtk/queryimmodules.c